package com.qwf.shici.ui;

import android.os.Bundle;

import com.qwf.shici.R;
import com.qwf.shici.base.BaseActivity;
import com.qwf.shici.model.PoemBean;

public class PoemDetailActivity extends BaseActivity {

    private PoemBean poem;//传过来的诗词对象

    @Override
    protected int getLayoutRes() {
        return R.layout.activity_poem_detail;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        poem = (PoemBean) getIntent().getSerializableExtra("poem");
        setHeadTitle(poem.getTitle());
    }
}
